package mysql

import "gorm.io/gorm"

type Problem struct {
	gorm.Model
	Title  string `gorm:"type:varchar(30);comment:问题标题"`
	Image  string `gorm:"type:varchar(300);comment:问题插图"`
	Info   string `gorm:"type:varchar(300);comment:问题描述"`
	Like   int64  `gorm:"type:varchar(30);comment:点赞量"`
	UserId int64  `gorm:"type:int(11);comment:用户id"`
	Hot    int64  `gorm:"type:int(11);comment:热度"`
}
